package com.project.service;

import java.rmi.UnexpectedException;
import java.util.List;
import java.util.Map;

public interface LinkService {
    /**
     * 输入需要转换的长链接列表
     * @param longUrlList
     * @return 返回转换后的短链接列表
     */
    List<String> getShortUrl(List<String> longUrlList) throws UnexpectedException;

    String getLongUrl(String shortUrl);


}
